Contextual Menu Help Type Constants
NEW WITH CONTEXTUAL MENUS
You can pass these constants in theinHelpType
parameter of the functionContextualMenuSelect
to specify the kind of help the application supports.
enum{ kCMHelpItemNoHelp = 0, kCMHelpItemAppleGuide = 1, kCMHelpItemOtherHelp = 2 };Constant descriptions
kCMHelpItemNoHelp
- The application does not support any help. The Menu Manager will put an appropriate help string into the menu and disable it.
kCMHelpItemAppleGuide
- The application supports Apple Guide help. The Menu Manager will put the name of the main Guide file into the menu and enable it.
kCMHelpItemOtherHelp
- The application supports some other form of help. In this case, the application must also pass a valid string into the
inHelpItemString
parameter ofContextualMenuSelect
. This string will be the text of the help item in the menu, and the help item will be enabled.